﻿<%@ Page Language="C#" AutoEventWireup="True" Inherits="PlugNT.Cms.Web.Admin.Pre_Article.Edit" ValidateRequest="false" EnableEventValidation="false" Codebehind="Edit.aspx.cs" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="fck" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑内容</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../css/control.css" />
<link rel="stylesheet" type="text/css" href="../css/jquery/ui-1.8.18.custom.css" />
<script type="text/javascript" src="/Tools/Editer/fck/fckeditor.js" ></script>
<script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="../js/jquery.form.js"></script>
<script type="text/javascript" src="../js/article.js"></script>
<%=dynArticleJscode %>
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>内容&nbsp;&gt;&nbsp;<%=artName%>管理&nbsp;&gt;&nbsp;编辑内容</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="./Add.aspx">添加内容</a></label> | </td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>

<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
              

  
    <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff" id="add_table">
        <tr>
        <td colspan="3" style=" height:5px;" bgcolor="#ecf5ff"></td>
        </tr>
        <tr>
        <td width="145" align="right" nowrap bgcolor="#F4FBFF">内容标题： &nbsp;</td>
        <td bgcolor="#F4FBFF"><asp:TextBox ID="txttitle" runat="server" Width="400px" CssClass="input"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txttitle" ErrorMessage="<span style='color:#ff0000;'>请填写标题</span>" Display="Dynamic"></asp:RequiredFieldValidator>
              
            <asp:CheckBox Checked="false" ID="stick" runat="server" Text="置顶" title="内容置顶" />                
            <asp:CheckBox Checked="false" ID="commend" runat="server" Text="推荐" title="内容推荐" />                      
            <asp:CheckBox Checked="true" ID="publish" runat="server" Text="发布" title="内容发布" /></td>
        <td align="center" nowrap bgcolor="#F4FBFF">&nbsp;</td>
        </tr>

        <tr>
        <td align="right" nowrap bgcolor="#F4FBFF">栏目： &nbsp;</td>
        <td bgcolor="#F4FBFF">
            <asp:HiddenField ID="hidClsno" runat="server" />
            <asp:DropDownList ID="ddlMenu" runat="server"></asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="ddlMenu" ErrorMessage="<span style='color:#ff0000;'>请填选择栏目</span>" Display="Dynamic"></asp:RequiredFieldValidator>
            (必填，灰色部分为未绑定模板)</td>
        <td align="center" nowrap bgcolor="#F4FBFF">&nbsp;</td>
        </tr>

        <tr>
        <td align="right" valign="middle" nowrap bgcolor="#F4FBFF">内容↓： &nbsp;</td>
        <td align="left" valign="top" nowrap bgcolor="#F4FBFF" class="_help">
        <span style="color:#377a01;">(编辑器支持在线编辑粘贴内容时请清除原有内容格式,编辑器有新模板时需要清除ie缓存才能看到新添加的模板。</span>)
        <br />
            <fck:FCKeditor ID="fckBox"  BasePath="/Tools/Editer/fck/" ToolbarCanCollapse="false" ToolbarSet="Default"  Width="93%" Height="250px"  runat="server">
            </fck:FCKeditor>
        </td>
        <td align="center" valign="top" nowrap bgcolor="#F4FBFF" class="_help"><a href="#" title="可选项"  id="_c8"><font color="#C2CCCC">X</font></a></td>
        </tr>

        <tr><td colspan="3" height="5"></td></tr>

        <asp:Literal ID="litExtend" runat="server"></asp:Literal>

        <tr>
        <td align="right" valign="middle" nowrap bgcolor="#F4FBFF"></td>
        <td colspan="2" align="left" nowrap bgcolor="#F4FBFF">
            <br />
            <asp:ImageButton ID="btnEdit" runat="server"  ImageUrl="../images/submit-bt.gif" OnClick="btnEdit_Click" />
            <br />
            <span class="_help">(发布参考/注意事项)</span>
            <asp:HiddenField ID="hidReferrer" runat="server" />
            </td>
        </tr>
    </table>

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>
<script src="../js/calendar.js" type="text/javascript"></script>
</body>
</html>


